package com.example.publice.generator.entity;

import java.util.Map;

public class ExtTemplates {


    /**
     * 模板地址(不需要.ftl)
     */
    private String templateFilePath;

    /**
     * 输出文件名称后缀(不能为null), 实体名称${outFileName}.fileType
     * 例如用户模块：outFileName为空默认为 user.html ,假设outFileName为_add 输出文件名为 --> user_add.html
     */
    private String outFileName;

    /**
     * 文件类型（扩展名）
     */
    private String fileType;

    private Map objMap;


    public ExtTemplates(Map objMap, String templateFilePath, String outFileName, String fileType) {
        this.objMap = objMap;
        this.templateFilePath = templateFilePath;
        this.outFileName = outFileName;
        this.fileType = fileType;
    }


    public String getTemplateFilePath() {
        return templateFilePath;
    }

    public void setTemplateFilePath(String templateFilePath) {
        this.templateFilePath = templateFilePath;
    }

    public String getOutFileName() {
        return outFileName;
    }

    public void setOutFileName(String outFileName) {
        this.outFileName = outFileName;
    }

    public String getFileType() {
        return fileType;
    }

    public void setFileType(String fileType) {
        this.fileType = fileType;
    }

    public Map getObjMap() {
        return objMap;
    }

    public void setObjMap(Map objMap) {
        this.objMap = objMap;
    }
}
